package org.management.system.service;

import org.management.base.BaseService;
import org.management.system.entity.PermissionEntity;

import java.util.List;

/**
 * 功能描述
 * 访问权限接口类
 * @author jiangyan
 * @date 2019/03/14
 * @description
 * @project management
 */
public interface PermissionService extends BaseService<PermissionEntity> {
    /**
     * 根据角色查询访问权限
     * @param roleId 角色ID
     * @return 访问权限集合
     */
    List<PermissionEntity> selectPermissionByRoleId(String roleId);
}